home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / Developer University / DUProjects / Talker / Sources / Selection.h < prev    next >
Encoding:
Text File  |  1996-08-16  |  1.2 KB  |  39 lines  |  [TEXT/CWIE]

  1. //========================================================================================
  2. //    Release Version:    $ ODF 1 $
  3. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  4.  
  5. #ifndef SELECTION_H
  6. #define SELECTION_H
  7.  
  8. //====================================================================
  9. // ----- FrameWork Includes -----
  10. #ifndef FWSELECT_H
  11. #include "FWSelect.h"    // FW_CSelection
  12. #endif
  13.  
  14. //====================================================================
  15. class CTalkerPart;
  16. class CTalkerFrame;
  17. class CTalkerContent;
  18.  
  19. //====================================================================
  20. class CTalkerSelection : public FW_CSelection {
  21. public:
  22.     FW_DECLARE_AUTO(CTalkerSelection)
  23.                             CTalkerSelection(Environment* ev, 
  24.                                             CTalkerContent* content);
  25.     virtual                 ~CTalkerSelection();
  26.     // overrides
  27. protected:
  28.     // must override
  29.     virtual void            CloseSelection(Environment* ev);
  30.     virtual void            ClearSelection(Environment* ev);
  31.     virtual FW_Boolean        IsEmpty(Environment* ev) const;
  32.     virtual void            SelectAll(Environment* ev);
  33.     virtual FW_CContent*    GetSelectedContent(Environment* ev);
  34. private:
  35.     CTalkerContent*            fTalkerContent;
  36. };
  37.  
  38. //====================================================================
  39. #endif